module.exports = {
    publicPath: '/miaomiao',
    // 开发环境配置：
    devServer: {
        host: 'localhost',
        port: 8080,
        proxy: {
            '/api': {
                target: 'http://39.97.33.178',
                changeOrigin: true,
            },
            // '/api': {
            //     target: 'https://api.douban.com/v2/movie/',
            //     changeOrigin: true,
            //     pathRewrite: {
            //         '^/api': ''
            //     },
            //     changeOrigin: true
            // }
        }
    },
}